//
//  MSFilterView.h
//  MSJD
//
//  Created by 箭军刘 on 2018/11/5.
//  Copyright © 2018 xiangbo. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


/**
 筛选页弹框
 */
@interface MSFilterView : UIView

/** 保存点击回调 type 0-重置按钮点击  1-保存按钮点击 */
@property (nonatomic, copy) void (^SaveButtonClickBlock)(NSInteger type, NSDictionary *newSelectDic);


/** dataSource-数据源  selectData-之前选中过得控件 */
- (instancetype)initWithFrame:(CGRect)frame dataSource:(NSArray *)dataSource selectData:(NSDictionary *)selectData;

/** 展示按钮，一般伴随着界面的展示 */
- (void)showButton;

/** 隐藏按钮，一般伴随着界面的隐藏 */
- (void)hiddenButton;

@end

NS_ASSUME_NONNULL_END
